package wifiunion.com.notice.utils.db;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/24 0024.
 * 插件对象
 */
@Table(name = "t_plugininfo")
public class LocalPluginEntity implements Serializable {


    @Id(column = "id")
    private int Id;
    /**
     * 插件uuid
     */
    @Column(column = "plugin_uuid")
    private String uuid;
    /**
     * 插件名称
     */
    @Column(column = "plugin_name")
    private String name;
    /**
     * 插件版本号
     */
    @Column(column = "plugin_version")
    private String version;
    /**
     * 插件签名值
     */
    @Column(column = "plugin_sign")
    private String sign;
    /**
     * 插件包地址
     */
    @Column(column = "plugin_path")
    private String path;
    /**
     * 插件类型，0免费插件，1定制插件，2收费插件
     */
    @Column(column = "plugin_type")
    private int type;
    /**
     * 插件功能介绍
     */
    @Column(column = "plugin_info")
    private String info;
    /**
     * 版本更新说明
     */
    @Column(column = "plugin_updateInfo")
    private String updateInfo;
    /**
     * 插件图标地址
     */
    @Column(column = "plugin_logo")
    private String logo;
    /**
     * 插件图标地址
     */
    @Column(column = "plugin_logo1")
    private String logo1;
    /**
     * 插件截图地址
     */
    @Column(column = "plugin_pic1")
    private String picUrl1;
    /**
     * 插件截图地址
     */
    @Column(column = "plugin_pic2")
    private String picUrl2;

    /**
     * 插件截图地址
     */
    @Column(column = "plugin_pic3")
    private String picUrl3;
    /**
     * 插件截图地址
     */
    @Column(column = "plugin_pic4")
    private String picUrl4;
    /**
     * 发布时间
     */
    @Column(column = "plugin_time")
    private String time;

    /**
     * 客户端自己追加的属性，用于在‘已下载’里展示插件安装包状态
     * 0 待上传
     * 1 已上传
     * 2 待更新
     * 3 正在上传
     */
    @Column(column = "plugin_package")
    private int packagestate;

    /**
     * 客户端自己追加的属性，用于在‘已下载’里展示 插件状态
     * 0:停用无效 1:启用有效
     */
    @Column(column = "plugin_state")
    private int pluginstate;
    /**
     * 场景uuid
     */
    @Column(column = "community_uuid")
    private String communityUuid;


//    /**
//     * 插件状态
//     * 0:停用无效 1:启用有效
//     */
//    @Column(column = "plugin_status")
//    private int status;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getUpdateInfo() {
        return updateInfo;
    }

    public void setUpdateInfo(String updateInfo) {
        this.updateInfo = updateInfo;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getPicUrl1() {
        return picUrl1;
    }

    public void setPicUrl1(String picUrl1) {
        this.picUrl1 = picUrl1;
    }

    public String getPicUrl2() {
        return picUrl2;
    }

    public void setPicUrl2(String picUrl2) {
        this.picUrl2 = picUrl2;
    }

    public String getPicUrl3() {
        return picUrl3;
    }

    public void setPicUrl3(String picUrl3) {
        this.picUrl3 = picUrl3;
    }

    public String getPicUrl4() {
        return picUrl4;
    }

    public void setPicUrl4(String picUrl4) {
        this.picUrl4 = picUrl4;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getPackagestate() {
        return packagestate;
    }

    public void setPackagestate(int packagestate) {
        this.packagestate = packagestate;
    }

    public int getPluginstate() {
        return pluginstate;
    }

    public void setPluginstate(int pluginstate) {
        this.pluginstate = pluginstate;
    }


    public String getCommunityUuid() {
        return communityUuid;
    }

    public void setCommunityUuid(String communityUuid) {
        this.communityUuid = communityUuid;
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getLogo1() {
        return logo1;
    }

    public void setLogo1(String logo1) {
        this.logo1 = logo1;
    }
}
